package com.mall.service;

import com.mall.common.ServerResponse;
import com.mall.vo.CartVo;

public interface ICartService {
	
	public ServerResponse<CartVo> add(Integer productId,Integer userId,Integer count);

	public ServerResponse<CartVo> update(Integer userId, Integer productId, Integer count);

	public ServerResponse<CartVo> delete(Integer userId,String productIds);

	public ServerResponse<CartVo> list(Integer userId);

	public ServerResponse<CartVo> SelectOrUnSelect(Integer userId,Integer productId,Integer checked);

	public ServerResponse<Integer> getCartProductCount(Integer userId);
	   
} 
